package com.gack.business.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.gack.business.model.VideoMessage;
import com.gack.business.model.VideoUser;

/**
 * 
* @ClassName: VideoMessageRepository.java 
* @Description: 评价controller
* @author Cancerl
* @date 2018年3月21日
*  
 */
public interface VideoMessageRepository extends JpaRepository<VideoMessage, String>,JpaSpecificationExecutor<VideoMessage>{
	public Page<VideoMessage> findAll(Pageable pageable);
	public Page<VideoMessage> findByUser(VideoUser user,Pageable pageable);
}
